<html>
<head><meta charset="utf-8"><title>PRs need a decision on `try_generate` or `ArrayVec` or ... · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/PRs.20need.20a.20decision.20on.20.60try_generate.60.20or.20.60ArrayVec.60.20or.20.2E.2E.2E.html">PRs need a decision on `try_generate` or `ArrayVec` or ...</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="218779392"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/PRs%20need%20a%20decision%20on%20%60try_generate%60%20or%20%60ArrayVec%60%20or%20.../near/218779392" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/PRs.20need.20a.20decision.20on.20.60try_generate.60.20or.20.60ArrayVec.60.20or.20.2E.2E.2E.html#218779392">(Dec 04 2020 at 01:55)</a>:</h4>
<p>We're now up to three different PRs all re-implementing the <code>unsafe</code> code for "sound way to build an array":<br>
<a href="https://github.com/rust-lang/rust/pull/79659">https://github.com/rust-lang/rust/pull/79659</a><br>
<a href="https://github.com/rust-lang/rust/pull/79451">https://github.com/rust-lang/rust/pull/79451</a><br>
<a href="https://github.com/rust-lang/rust/pull/75644">https://github.com/rust-lang/rust/pull/75644</a><br>
(And the <code>map</code> implementation also has it, from <a href="https://github.com/rust-lang/rust/pull/75212">https://github.com/rust-lang/rust/pull/75212</a>)</p>
<p>It would be great to get an official libs answer on which of these make sense as the core thing.  If that's going to be <code>ArrayVec</code>, for example, then it'd be good to just get that implemented and have all these PRs reimplemented using it, or whatever.</p>



<a name="218798986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/PRs%20need%20a%20decision%20on%20%60try_generate%60%20or%20%60ArrayVec%60%20or%20.../near/218798986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/PRs.20need.20a.20decision.20on.20.60try_generate.60.20or.20.60ArrayVec.60.20or.20.2E.2E.2E.html#218798986">(Dec 04 2020 at 06:51)</a>:</h4>
<p><span class="user-mention" data-user-id="125270">@scottmcm</span> thanks! i'll put it on the agenda for the next meeting (which is in five days)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>